import { useRouter } from "vue-router";

export const useBackRouterEffect = () => {
  const router = useRouter();
  const toBack = () => {
    router.back();
  };
  return toBack;
};
